/* Copyright (c) 1992 - Rick A. Vander Kam - All rights reserved */
Description of the Fir3 Unit Generator.
This unit generator implements a three-point FIR filter section in direct form. The filter output is given as output = bb0*(input) + bb1*(once-delayed input) + bb2*(twice-delayed input). For the guitar synthesizer, the "bb0" and "bb2" coefficients are always equal (for a linear phase response), and they are set by the "a0" timbre slider on the control panel. The "bb1" coefficient is set by the "a1" slider.
METHODS
=========
- setOutput:aPatchPoint
Used to connect the unit generator's output to aPatchPoint
-setInput:aPatchPoint
Used to connect the unit generator's input to aPatchPoint
- setBb0:aDouble
Used to set the bb0 coefficient to aDouble (-1.0 to 0.999999)
- setBb1:aDouble
Used to set the bb1 coefficient to aDouble (-1.0 to 0.999999)
- setBb2:aDouble
Used to set the bb2 coefficient to aDouble (-1.0 to 0.999999)
- clear
Used to clear the filter state. Forces the stored values for the once- and twice-delayed input to be zero.